function del(obj) {

    var tableNode = obj.parentNode.parentNode

    tableNode.parentNode.removeChild(tableNode)
}

function add() {

    document.createElement
    var tableNode = document.getElementById("table")
    var node = '<tr> <td><input type="text"></td> <td><input type="text"></td> <td><input type="text"></td> <td><input type="button" onclick="del(this)" value="删除"></td> </tr>'
    //alert(node)
    //node = "<input>"
    tableNode.innerHTML += node
}


function submit() {
    var tableNode = document.getElementById("table")
    var count = 0;
    for (i = 0; i < document.getElementById("table").rows.length; i++) {
        for (j = 0; j < document.getElementById("table").rows(i).cells.length; j++) {
            document.all.getElementById("table").rows(i).cells(j).innerText = count;
            count++;
        }
        alert(count)
    }
}

function httpre(){
    const Http = new XMLHttpRequest();
    const url='http://h98qas.natappfree.cc/wechar_sys/Test';
    Http.open("GET", url);
    Http.send();

    Http.onreadystatechange = (e) => {
        console.log(Http.responseText)
    }
}
